package com.example.democrud.common.exception;

import com.example.democrud.enums.ResponseEnum;

/**
 * @ClassName DBCreateException
 * @Author Administrator
 * @Date 2020/4/23   10:56
 */
public class DBDeleteException extends RuntimeException {
    public DBDeleteException() {
    }

    public DBDeleteException(String message) {
        super(message);
    }

    public DBDeleteException(ResponseEnum responseEnum){
        this(responseEnum.toString());
    }
}
